package cn.edu.wynu.order;

import cn.edu.wynu.ConfigClass;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class StudentTest {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context =
                new AnnotationConfigApplicationContext(ConfigClass.class);
        Student student = context.getBean(Student.class);
        student.badminton();
    }
}
